package com.ywl.designpattern.bridge;

/**
 * @author yuwl
 * @description
 * @since 2024-07-03 10:09
 */
public class BridgePatternDemo {

    public static void main(String[] args) {
        Shape redCircle = new Circle(100, 100, 0, new RedCircle());
        Shape greenCicle = new Circle(100, 100, 0, new GreenCircle());

        redCircle.draw();
        greenCicle.draw();
    }
}
